﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace Domain
{
    ///<summary>
    ///文件附件
    ///</summary>
    [SugarTable("fileattachment")]
    public partial class fileattachment
    {
           public fileattachment(){


           }
           /// <summary>
           /// Desc:编号
           /// Default:
           /// Nullable:False
           /// </summary>           
           [SugarColumn(IsPrimaryKey=true)]
           public string id {get;set;}

           /// <summary>
           /// Desc:关联编号
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string rid {get;set;}

           /// <summary>
           /// Desc:文件名称
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string name {get;set;}

           /// <summary>
           /// Desc:附件类型
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string filetype {get;set;}

           /// <summary>
           /// Desc:类名
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string typename {get;set;}

           /// <summary>
           /// Desc:缩略图像素 缩略图像素
           /// Default:
           /// Nullable:True
           /// </summary>           
           public string tmb {get;set;}

           /// <summary>
           /// Desc:mime类型 文件的类型如：image/png,video/mp4
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string mime {get;set;}

           /// <summary>
           /// Desc:文件来源 文件来源：1,来自企业历程和事件，2,品牌，车型介绍
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string filesource {get;set;}

           /// <summary>
           /// Desc:hash值
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string hash {get;set;}

           /// <summary>
           /// Desc:排序号
           /// Default:0
           /// Nullable:True
           /// </summary>           
           public double? orderno {get;set;}

           /// <summary>
           /// Desc:创建人编号
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string creatorid {get;set;}

           /// <summary>
           /// Desc:创建人姓名
           /// Default: 
           /// Nullable:True
           /// </summary>           
           public string creatorname {get;set;}

           /// <summary>
           /// Desc:创建日期
           /// Default:CURRENT_TIMESTAMP
           /// Nullable:True
           /// </summary>           
           public DateTime? createdate {get;set;}

    }
}
